package com.zxh.mall.service;

/**
 * @author zhengxh
 * @version 1.0
 * @date 2024/5/17 - 05 - 17 - 20:08
 * @description com.zxh.mall.vo.service
 */

import com.zxh.mall.vo.Cart;
import com.zxh.mall.vo.CartItem;

import java.util.List;
import java.util.concurrent.ExecutionException;

/**
 * 购物车的Service接口
 */
public interface ICartService {

    public Cart getCartList();

    CartItem addCart(Long skuId, Integer num) throws ExecutionException, InterruptedException;

    CartItem getCartItem(Long skuId);

    List<CartItem> getUserCartItems();
}
